package com.fulihui.wgj.admin.api.wx48.request;

import com.fulihui.common.request.web.CommonRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

@Getter
@Setter
@ToString
@ApiModel("微信48小时消息发送请求")
public class Wx48NewsSendRequest extends CommonRequest {

    @ApiModelProperty(value = "图文id")
    @NotNull(message = "图文id不能为空")
    private Long newsId;

    @ApiModelProperty(value = "备注名称")
    @NotBlank(message = "备注名称不能为空")
    private String name;

    @ApiModelProperty(value = "定时时间")
    private String jobTime;

    @ApiModelProperty(value = "条件（前端拼接的字符串）")
    private String sendConditionDesc;

    @ApiModelProperty(value = "性别是否包含：contain-包含 eliminate-排除")
    private String sexTab;

    @ApiModelProperty(value = "性别，1-男 2-女 0-未知 NULL-所有")
    private Integer sex;

    @ApiModelProperty(value = "国家是否包含：contain-包含 eliminate-排除")
    private String countryTab;

    @ApiModelProperty(value = "国家")
    private String country;

    @ApiModelProperty(value = "省份是否包含：contain-包含 eliminate-排除")
    private String provinceTab;

    @ApiModelProperty(value = "省份城市")
    private String province;

    @ApiModelProperty("关注开始时间")
    private String subscribeTimeStart;

    @ApiModelProperty("关注结束时间")
    private String subscribeTimeEnd;
}